#!/bin/bash
# naked variables

echo

#assigment
a=869
echo "The value of \"a\" is $a."

echo

#assigment using 'let'
let a=16+5
echo "The value of \"a\" is now $a."

# in a for loop
echo -n "Values of \"a\" in the loop are:" 
for a in 7 8 9
do
    echo -n "$a, "
done
echo
echo

# in a read statement

echo -n "Enter \"a\" "
read a
echo "The value of \"a\" is now $a."
echo 
exit 0
